package 综合练习;

public class 猴子吃桃 {
    public static void main(String[] args) {
        System.out.println(getSum(1));

    }
public static int getSum(int day){
        if(day==10){
            return 1;
        }
        return (getSum(day+1)+1)*2;
}
}
